package kin.annotation.system;

import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;

import javax.validation.Constraint;

@Target(value = ElementType.FIELD)
@Retention(RetentionPolicy.RUNTIME)
public @interface KinColumn { // java.lang.annotation.Annotation as implicit
								// superclass

	public int width() default 0;

	public int height() default 0;

	boolean serializable() default true;

	boolean hidden() default false;

	String xtype() default "textfield";

	int sort() default 0;
    /*
     * 是否复合主键
     */
	boolean isEmbeddedId() default false;
	

	/*
     * 显示复合主键字段
     */
	public abstract EmbeddedIdColumn[] embeddedIdColumns() default {};
	
	String header() default "";

	String format() default "";

	Trigger[] triggers() default {};

	String cls() default "";

	String style() default "";

	boolean editor() default true;

	String vtype() default "";

	String regexText() default "";

	String regex() default "";
	
	

}
